package crm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

public class Plan {

    private String  employee_name;
    private Integer plan_id;
    private Integer contact_id;
    private String  customer_name;
    private Integer plan_profit;
    private Date plan_time;
    private boolean IsFinished;
    private String  implementation;

    public Plan() {
    }

    public Plan(String employee_name, Integer plan_id, Integer contact_id, String customer_name, Integer plan_profit, Date plan_time, boolean isFinished, String implementation) {
        this.employee_name = employee_name;
        this.plan_id = plan_id;
        this.contact_id = contact_id;
        this.customer_name = customer_name;
        this.plan_profit = plan_profit;
        this.plan_time = plan_time;
        IsFinished = isFinished;
        this.implementation = implementation;
    }

    public String getEmployee_name() {
        return employee_name;
    }

    public void setEmployee_name(String employee_name) {
        this.employee_name = employee_name;
    }

    public Integer getPlan_id() {
        return plan_id;
    }

    public void setPlan_id(Integer plan_id) {
        this.plan_id = plan_id;
    }

    public Integer getContact_id() {
        return contact_id;
    }

    public void setContact_id(Integer contact_id) {
        this.contact_id = contact_id;
    }

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public Integer getPlan_profit() {
        return plan_profit;
    }

    public void setPlan_profit(Integer plan_profit) {
        this.plan_profit = plan_profit;
    }

    public Date getPlan_time() {
        return plan_time;
    }

    public void setPlan_time(Date plan_time) {
        this.plan_time = plan_time;
    }

    public boolean isFinished() {
        return IsFinished;
    }

    public void setFinished(boolean finished) {
        IsFinished = finished;
    }

    public String getImplementation() {
        return implementation;
    }

    public void setImplementation(String implementation) {
        this.implementation = implementation;
    }

    @Override
    public String toString() {
        return "Plan{" +
                "employee_name='" + employee_name + '\'' +
                ", plan_id=" + plan_id +
                ", contact_id=" + contact_id +
                ", customer_name='" + customer_name + '\'' +
                ", plan_profit=" + plan_profit +
                ", plan_time=" + plan_time +
                ", IsFinished=" + IsFinished +
                ", implementation='" + implementation + '\'' +
                '}';
    }
}
